//
//  LDSecPushController.m
//  Gift
//
//  Created by 李迪 on 15/11/19.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "LDSecPushController.h"
#import "BaseHeader.h"
#import "LDArtifactModel.h"

@interface LDSecPushController ()

@end

@implementation LDSecPushController

- (void)craterView{
    
    UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, 375)];
    NSString *str = self.model.class_image;
    [imageView sd_setImageWithURL:[NSURL URLWithString:str]];
    [self.view addSubview:imageView];
    
    UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(0, 400, SCREEN_WIDTH, 30)];
    label.text = self.model.subject;
    label.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:label];
    
    [imageView release];
    [label release];
}








- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    [self craterView];
    
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
